
# http://www.lfd.uci.edu/~gohlke/pythonlibs/#pymssql 安装驱动

import pymssql
conn = pymssql.connect(host='10.68.108.3', user='eerpsa', password='eerpP@ssword', database='cmape')

cursor = conn.cursor()

cursor.execute("select top 10 * from t_mgt_user")
values = cursor.fetchall()

cursor.close()
conn.close()

print(values)
